#include "Artist.h"

Artist::Artist(std::string artist) : artistName(artist) {}

Artist::~Artist() {
	for (unsigned int i = 0; i < albums.size(); i++) {
		delete albums[i];
	}
}

void Artist::addAlbum(Album * album) {
	albums.push_back(album);
}

std::vector<Album *> * Artist::getAlbums() {
	return &albums;
}

std::string Artist::getArtistName() {
	return artistName;
}
